<script>
    function goTo(whichFile){
        var  ifm = document.getElementById('showinfo');
        ifm.src = whichFile;
    }
</script>
<table border="1" width="100%" height="100%">
    <tr height="10%"><td colspan="2">您好：<?php echo $admin_name;?>
        管理员，您上次登陆时间是<?php echo $login_time?><h1>这里是商品管理系统，在这里您拥有所有权限</h1>
                <a href="index.php?act=login&op=quit">退出</a>
        </td></tr>
    <tr>
        <td width="10%">

            <a href="javascript:void()" onclick="goTo('index.php?act=goods&op=goods_list')">管理商品</a><br />
            <a href="javascript:void()" onclick="goTo('index.php?act=goods&op=goods_add')">添加商品</a><br />
            <a href="javascript:void()" onclick="goTo('index.php?act=goods&op=goods_collect')">商品回收站</a><br />

            <a href="javascript:void()" onclick="goTo('index.php?act=cate&op=cate_list')">管理商品分类</a><br />
            <a href="javascript:void()" onclick="goTo('index.php?act=user&op=list')">管理用户</a><br />
            <a href="javascript:void()" onclick="goTo('index.php?act=mates&op=list')">管理同事</a><br />
            <a href="javascript:void()" onclick="goTo('index.php?act=ob&op=add_static')">添加家庭成员</a><br />
            <a href="javascript:void()" onclick="goTo('index.php?act=ob&op=flist')">家庭成员列表</a><br />
            <a href="javascript:void()" onclick="goTo('index.php?act=ob&op=list_static')">生成家庭成员列表静态页</a><br />
            <a href="javascript:void()" onclick="goTo('index.php?act=news&op=add')">添加新闻</a><br />
            <a href="javascript:void()" onclick="goTo('index.php?act=news&op=list')">新闻列表</a><br />
            <a href="javascript:void()" onclick="goTo('index.php?act=news&op=list_static')">生成新闻列表静态文件</a><br />
            <a href="javascript:void()" onclick="goTo('index.php?act=pay&op=list')">还款管理</a><br />

        </td>
        <td>
            <iframe id="showinfo" src="" width="100%" height="100%" frameborder="0" />
        </td>
    </tr>

</table>

